# Default autoconfig
define auto.unpack
$(V)cd $$(dir $$(DST)); tar xaf $$(SRC)
endef

define auto.clean
$(V)cd $$(DST); make clean
endef

define auto.config
$(V)cd $$(DST); $(TIME) ./configure $$(CONFIG)
endef

define auto.build
$(V)cd $$(DST); $(TIME) make -j$$(JOBS)
endef

define auto.install
$(V)cd $$(DST); $(TIME) make install
endef

define auto.uninstall
$(V)cd $$(DST); make uninstall
endef

define auto.remove
$(V)rm -rf $$(DST)
endef

define auto.strip
$(V)chmod u+w $$(OUT); $$(STRIP) -s $$(OUT)
endef
